package tset;

public class Test4 {
	public static void main(String[] args) {
		int i = 0;
		for(i = 1988; i <= 2019; i++) {
			if(((i%4 == 0) && (i%100 != 0)) || (i%400 == 0)){
				System.out.println(i);
			}
		}
	}

}
